import React,{memo} from 'react'
import '../../../../assets/Layout/rizhi.scss'
import { LeftOutlined,EditOutlined,FormOutlined,CopyOutlined } from '@ant-design/icons';
import { Divider,Button,Checkbox } from 'antd';
import {useNavigate} from "react-router";

function RzHead(){
  const navigate = useNavigate();
 return <>
   <div className="rzHead-mian">
     <div className="rz-l">
     <div onClick={()=>navigate(-1)} className="rzHead-l-icon">
       <LeftOutlined /> 返回
     </div>
     <Divider className="divider" type="vertical" />
     <div className="rzHead-text">新增日志</div>
     </div>
     <div className="rz-r">
       <Button type="primary"><i className="iconfont mt-add"></i> 提交</Button>
       <Button type="link"><CopyOutlined />草稿</Button>
     </div>
   </div>
 </>
}

export default  memo(RzHead)
